home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1996 November
/
Chip 11-96.iso
/
treiber
/
drucker
/
lexmark
/
optrae
/
windows
/
optraewi.exe
/
LINUTIL.ZIP
/
UTIL.LIN
Wrap
INI File
|
1995-08-17
|
2KB
|
68 lines
[Variables]
; This file has no NLS to translate!
;
; Temporary strings
;
$StripFilename_Drive = ""
$TempString = ""
[Libraries]
UtilUtility = linutil.dll
[Components]
; Server components for util.lin
Server_Util = "", , $SERVERAPPDIR, , 2, (=util.lin)
[Macros]
; StripFilename: This function returns a string representing the given
; path without the filename information.
;
StripFilename($fname)
(
; First, split the path into the drive, path, and filename. We discard
; the filename, store the drive in a global temporary string, and
; store the path in $StripFilename.
SplitPath($fname, $StripFilename_Drive, $StripFilename, )
; Now recombine the drive and filename, storing them in the return string.
SetVariable($StripFilename, ($StripFilename_Drive, $StripFilename))
)
; InstallTextIcons: This macro creates the Program Manager 'items' for
; any '.txt' files. '$ExistingMVGroup' is the name of
; the Program Manager 'group' which was selected for
; the MarkVision 'item.' It is assumed that this
; parameter is not blank.
;
InstallTextIcons($ExistingMVGroup)
(
; Build 'Command Line' for $READMEFILE 'item.'
; ie. 'c:\windows\notepad.exe c:\markvis\readme.txt'
MakePathName($InstallTextIcons, , $APPDIR, $READMEFILE)
SetVariable($TempString, ($READMEVIEWER, " ", $InstallTextIcons))
CallLibrary(UtilUtility, CreateProgmanItem, ,
($ExistingMVGroup, $Str_ItemName_ReadMe, $TempString, $NO))
; Build 'Command Line' for $SUPPORTFILE 'item.'
MakePathName($InstallTextIcons, , $APPDIR, $SUPPORTFILE)
SetVariable($TempString, ($READMEVIEWER, " ", $InstallTextIcons))
CallLibrary(UtilUtility, CreateProgmanItem, ,
($ExistingMVGroup, $Str_ItemName_Support, $TempString, $NO))
)